/*
* 用户表
* */
import Gender from '../interfaces/Gender';
import Role from '../interfaces/Role';
@Timestamp
export default class Users extends Table<Users>{
  @Col public nickName:string;//昵称

  @Col public avatarUrl:string;//头像

  @Col public age:number;//年龄

  @Col @Default(Gender.Unknown) public sex:number;//性别

  @Col @Default(Role.Student) public role:number;//角色

  @Col public  classroomId:number;//班级
}